package com.xyy.dynamic;

/**
 * @author xyy
 * @date 2019/4/12
 */
public interface Subject {
    /**
     * 发送消息
     * @param msg
     */
    void send(String msg);

    /**
     * 接收消息
     */
    void receive(String msg);
}
